const routes = [
  {
    path: '/',
    name: 'Index',
    icon_class: 'home',
    icon_class_on: 'home_on',
    cn_name: '首页',
    meta: {
      title: '黑河旅游官网'
    },
    component: () => import(/* webpackChunkName: "index" */ "../views/home/home.vue")
  },
  {
    path: '/mudidi',
    name: 'Mudidi',
    icon_class: 'mudidi',
    icon_class_on: 'mudidi_on',
    cn_name: '目的地',
    meta: {
      title: '目的地'
    },
    component: () => import(/* webpackChunkName: "index" */ "../views/mudidi/mudidi.vue")
  },
  {
    path: '/discover',
    name: 'Discover',
    icon_class: 'discover',
    icon_class_on: 'discover_on',
    cn_name: '发现',
    meta: {
      title: '发现'
    },
    component: () => import(/* webpackChunkName: "index" */ "../views/discover/discover.vue")
  },
  {
    path: '/mall',
    name: 'Mall',
    icon_class: 'mall',
    icon_class_on: 'mall_on',
    cn_name: '商城',
    meta: {
      title: '商城'
    },
    component: () => import(/* webpackChunkName: "index" */ "../views/mall/mall.vue")
  },
  {
    path: '/profile',
    name: 'Profile',
    icon_class: 'profile',
    icon_class_on: 'profile_on',
    cn_name: '我的',
    meta: {
      // requireAuth: false, // 是否需要登录权限
      title: '个人中心',
    },
    component: () => import(/* webpackChunkName: "index" */ "../views/profile/profile.vue")
  },
  {
    path: '/login',
    name: 'Login',
    meta: {
      title: '登录',
    },
    component: () => import("../views/login/login.vue")
  }
]

export default routes;